﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="ThuChi.Login" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style8
        {
            text-align: left;
            font-size: large;
        }
        .style20
        {
             width: 180px;
        }
        .style21
        {
            width: 130px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table align="center" bgcolor="Snow" cellpadding="3" 
        style="border: thin solid #C0C0C0; width: 100%;">
        <tr>
            <td class="style8" colspan="3" 
                style="border-color: #dbddff; border-bottom-style: solid; border-bottom-width: medium;">
                <strong style="font-size: large">&nbsp;Đăng nhập</strong></td>
        </tr>
        <tr>
            <td colspan="3">
                    <asp:Label ID="lblErrorMessage" runat="server" ForeColor="Red" Width="100%" 
                        style="margin-left: 0px; text-align: left;"></asp:Label>
                </td>
        </tr>
        <tr>
            <td align="right" class="style21">
                &nbsp;&nbsp;
                <asp:Label ID="lblTenDangNhap" runat="server" Font-Bold="True" Font-Size="14px" 
                    Text="Tên đăng nhập:" AssociatedControlID="txtTenDangNhap"></asp:Label>
            </td>
            <td class="style20" style="text-align: left">
                <asp:TextBox ID="txtTenDangNhap" runat="server" Width="180px" 
                    ValidationGroup="1"></asp:TextBox>
            </td>
            <td style="text-align: left">
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="txtTenDangNhap" ErrorMessage="Tên đăng nhập không được bỏ trống" 
                        ForeColor="Red" ValidationGroup="1" Font-Size="14px"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td align="right" class="style21">
                &nbsp;&nbsp;&nbsp;
                <asp:Label ID="lblMatKhau" runat="server" Font-Bold="True" Font-Size="14px" 
                    Text="Mật khẩu:" AssociatedControlID="txtMatKhau"></asp:Label>
            </td>
            <td class="style20">
                <asp:TextBox ID="txtMatKhau" runat="server" Width="180px" 
                        TextMode="Password" ValidationGroup="1"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="txtMatKhau" ErrorMessage="Mật khẩu không được bỏ trống" 
                        ForeColor="Red" ValidationGroup="1" Font-Size="14px"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td valign="top" class="style21">
                &nbsp;</td>
            <td align="right" class="style20" valign="top">
                <asp:Button ID="btnDangNhap" runat="server" onclick="btnDangNhap_Click" 
                        Text="Đăng nhập" ValidationGroup="1" />
                &nbsp;<asp:LinkButton ID="lbtnDangKy" runat="server" 
                    PostBackUrl="~/Registration.aspx">Đăng ký</asp:LinkButton>
            </td>
            <td valign="top">
                <br />
                <br />
            </td>
        </tr>
        </table>
</asp:Content>
